#!/bin/bash

cd $(dirname $0)

export GOOS=linux
export GOARCH=amd64
export CGO_ENABLED=0
go build -ldflags="-w -s" -o ./bin/mediago_linux_amd64

export GOOS=linux
export GOARCH=arm64
export CGO_ENABLED=0
go build -ldflags="-w -s" -o ./bin/mediago_linux_arm64

export GOOS=windows
export GOARCH=amd64
export CGO_ENABLED=0
go build -ldflags="-w -s" -o ./bin/mediago_windows_amd64.exe